package com.xebest.web.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by xebest on 2017/7/13.
 */
@XStreamAlias("order")
public class Order implements Serializable{


    private static final long serialVersionUID = -1325457573502585032L;

    private String custCode;      //客户编码
    private String custName;//客户名称
    private String custOrderCode;//客户订单号
    private String orderTime;//订单时间
    private Integer orderType;//订单类型
    private Integer businessType;//业务类型

    private String consignorCode;//发货方编码
    private String consignorName;//发货方单位
    private String consignorContact;//发货方联系人
    private String consignorPhone;//发货人联系电话
    private String consignorProvince;//发货省
    private String consignorCity;//发货市
    private String consignorCounty;//发货区/县
    private String consignorTown;//发货街道
    private String consignorAddress;//发货详细地址

    private String consigneeCode;//收货方编码
    private String consigneeName;//收货单位
    private String consigneeContact;//收货人
    private String consigneePhone;//收货电话
    private String consigneeProvince;//收货省
    private String consigneeCity;//收货市
    private String consigneeCounty;//收货区/县
    private String consigneeTown;//收货街道
    private String consigneeAddress;//收货详细地址

    private BigDecimal weight;//重量
    private String cubage;//体积
    private BigDecimal quantity;//件数
    private String expectedArrivedTime;//承诺到达时间
    private String transRequire;//运输要求
    private String notes;//备注
    private String collectFlag;//代收标识
    private String collectLoanAmount;//代收货款金额
    private String printInvoice;//是否打印发票
    private String buyerPaymentMethod;//买家支付方式
    private String insure;//是否保价
    private String insureValue;//保价金额

    private List<orderDetail> orderDetails;//订单明细信息

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public String getConsigneeContact() {
        return consigneeContact;
    }

    public void setConsigneeContact(String consigneeContact) {
        this.consigneeContact = consigneeContact;
    }

    public String getCustCode() {
        return custCode;
    }

    public void setCustCode(String custCode) {
        this.custCode = custCode;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getCustOrderCode() {
        return custOrderCode;
    }

    public void setCustOrderCode(String custOrderCode) {
        this.custOrderCode = custOrderCode;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public String getConsignorCode() {
        return consignorCode;
    }

    public void setConsignorCode(String consignorCode) {
        this.consignorCode = consignorCode;
    }

    public String getConsignorName() {
        return consignorName;
    }

    public void setConsignorName(String consignorName) {
        this.consignorName = consignorName;
    }

    public String getConsignorContact() {
        return consignorContact;
    }

    public void setConsignorContact(String consignorContact) {
        this.consignorContact = consignorContact;
    }

    public String getConsignorPhone() {
        return consignorPhone;
    }

    public void setConsignorPhone(String consignorPhone) {
        this.consignorPhone = consignorPhone;
    }

    public String getConsignorProvince() {
        return consignorProvince;
    }

    public void setConsignorProvince(String consignorProvince) {
        this.consignorProvince = consignorProvince;
    }

    public String getConsignorCity() {
        return consignorCity;
    }

    public void setConsignorCity(String consignorCity) {
        this.consignorCity = consignorCity;
    }

    public String getConsignorCounty() {
        return consignorCounty;
    }

    public void setConsignorCounty(String consignorCounty) {
        this.consignorCounty = consignorCounty;
    }

    public String getConsignorTown() {
        return consignorTown;
    }

    public void setConsignorTown(String consignorTown) {
        this.consignorTown = consignorTown;
    }

    public String getConsignorAddress() {
        return consignorAddress;
    }

    public void setConsignorAddress(String consignorAddress) {
        this.consignorAddress = consignorAddress;
    }

    public String getConsigneeCode() {
        return consigneeCode;
    }

    public void setConsigneeCode(String consigneeCode) {
        this.consigneeCode = consigneeCode;
    }

    public String getConsigneeName() {
        return consigneeName;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }

    public String getConsigneePhone() {
        return consigneePhone;
    }

    public void setConsigneePhone(String consigneePhone) {
        this.consigneePhone = consigneePhone;
    }

    public String getConsigneeProvince() {
        return consigneeProvince;
    }

    public void setConsigneeProvince(String consigneeProvince) {
        this.consigneeProvince = consigneeProvince;
    }

    public String getConsigneeCity() {
        return consigneeCity;
    }

    public void setConsigneeCity(String consigneeCity) {
        this.consigneeCity = consigneeCity;
    }

    public String getConsigneeCounty() {
        return consigneeCounty;
    }

    public void setConsigneeCounty(String consigneeCounty) {
        this.consigneeCounty = consigneeCounty;
    }

    public String getConsigneeTown() {
        return consigneeTown;
    }

    public void setConsigneeTown(String consigneeTown) {
        this.consigneeTown = consigneeTown;
    }

    public String getConsigneeAddress() {
        return consigneeAddress;
    }

    public void setConsigneeAddress(String consigneeAddress) {
        this.consigneeAddress = consigneeAddress;
    }

    public String getCubage() {
        return cubage;
    }

    public void setCubage(String cubage) {
        this.cubage = cubage;
    }

    public String getExpectedArrivedTime() {
        return expectedArrivedTime;
    }

    public void setExpectedArrivedTime(String expectedArrivedTime) {
        this.expectedArrivedTime = expectedArrivedTime;
    }

    public String getTransRequire() {
        return transRequire;
    }

    public void setTransRequire(String transRequire) {
        this.transRequire = transRequire;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getCollectFlag() {
        return collectFlag;
    }

    public void setCollectFlag(String collectFlag) {
        this.collectFlag = collectFlag;
    }

    public String getCollectLoanAmount() {
        return collectLoanAmount;
    }

    public void setCollectLoanAmount(String collectLoanAmount) {
        this.collectLoanAmount = collectLoanAmount;
    }

    public String getPrintInvoice() {
        return printInvoice;
    }

    public void setPrintInvoice(String printInvoice) {
        this.printInvoice = printInvoice;
    }

    public String getBuyerPaymentMethod() {
        return buyerPaymentMethod;
    }

    public void setBuyerPaymentMethod(String buyerPaymentMethod) {
        this.buyerPaymentMethod = buyerPaymentMethod;
    }

    public String getInsure() {
        return insure;
    }

    public void setInsure(String insure) {
        this.insure = insure;
    }

    public String getInsureValue() {
        return insureValue;
    }

    public void setInsureValue(String insureValue) {
        this.insureValue = insureValue;
    }

    public List<orderDetail> getOrderDetails() {
        return orderDetails;
    }

    public void setOrderDetails(List<orderDetail> orderDetails) {
        this.orderDetails = orderDetails;
    }
}
